package y23.Apr;

import java.util.Random;

public class Ran {
    public static void main(String[] args) {
        Random random = new Random();
        System.out.println("n1:");
        for(int i = 1;i <= 100;i++){
            int n1 = random.nextInt(100);
            System.out.printf("%-5d",n1);
            if(i % 10 == 0){
                System.out.println();
            }
        }
        System.out.println("n2:");
        for(int i = 1;i <= 100;i++){
            int n2 = random.nextInt(10);
            System.out.printf("%-5d",n2);
            if(i % 10 == 0){
                System.out.println();
            }
        }
    }
}
